/**
 * articletype
 */
function doEdit() {
	var err = '';
	var typename = document.getElementById('typename').value;
	
	if(typename == '') {
		err += '请输入名称 \n';
	}
	
	if(err != '') {
		alert(err);
	} else {
		window.f1.submit();
	}
}